#include <iostream>
#include <fstream>
using namespace std;

int main()
{
	fstream in("1.txt");
	int x;
	while(!in.eof()){
		//TODO
		 in >> x;
		 if(in)
		 {
		 cout << x<<endl;	
		 }
		 
	}
	//make reader point to the start
	in.clear();
	in.seekg(0);
	in.seekp(0);
	
	while(!in.eof()){
			//TODO
			 in >> x;
			 if(in)
			 {
			 cout << x+100<<endl;	
			 }
			 
		}
	
	return 0;
}
